package com.lzj.admin.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lzj.admin.pojo.Town;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lzj.admin.query.TownQuery;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 乡镇信息表 Mapper 接口
 * </p>
 *
 * @author luoyoumou
 * @since 2023-01-13
 */
public interface TownMapper extends BaseMapper<Town> {

    IPage<Town> queryTownByParams(IPage<Town> page, @Param("townQuery") TownQuery townQuery);

}
